<template>
  <div id="app">
    <router-view/>
    <div v-show="isShowXfq" class="xfq" @click="$router.push('/home')">
      首页
    </div>
  </div>
</template>

<script>
import { mapState } from 'vuex'

export default {
  data () {
    return {}
  },
  computed: {
    ...mapState('systemConfig', ['isShowXfq'])
  }
}
</script>

<style lang="less" scoped>
.xfq {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 999;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  line-height: 30px;
  text-align: center;
  background: rgba(0, 0, 0, .4);
  font-size: 12px;
}
</style>
